package br.eng.eliseu.gwt.aconchego.camera.client.service;

import java.util.List;

import br.eng.eliseu.gwt.aconchego.camera.module.AcessoCam;
import br.eng.eliseu.gwt.aconchego.camera.module.Camera;
import br.eng.eliseu.gwt.aconchego.camera.module.Usuario;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface UsuarioServiceAsync {

	void gravaAcesso(AcessoCam acesso, Boolean enviaEmail, AsyncCallback<AcessoCam> callback);

	void getCameras(AsyncCallback<List<Camera>> callback);

	void listaUsuarios(AsyncCallback<List<AcessoCam>> callback);

	void enviaSenha(String email, AsyncCallback<Boolean> asyncCallback);

	void trocaSenha(Usuario usuario, AsyncCallback<Boolean> asyncCallback);

	void deletaUsuario(AcessoCam usuarioDeleta, AsyncCallback<List<AcessoCam>> asyncCallback);


}
